'use strict';
angular.module('app').value('$dict',{})
.run(['$dict','$http',function($dict,$http){
	$http.get('data/city.json').then(function onSuccess(resp){
		$dict.city = resp.data;
	})
	$http.get('data/salary.json').then(function onSuccess(resp){
		$dict.salary = resp.data;
	})
	$http.get('data/scale.json').then(function onSuccess(resp){
		$dict.scale = resp.data;
	})
}]);